get-messagetrackinglog -EventID "FAIL"
if i run get-messagetrackinglog -EventID "FAIL" -Start "12/30/2010 8:00:00 AM" -End "12/31/2010 5:00:00 PM" in exchange message tracking, i get everything i need to see, but if i run the same command in the powershell I only get a few fields. is there a way to get the same result i see in message tracking to a CSV file via Exchange Management Shell?
January 27th, 2011 4:59pm

All the fields are there. In the PS console you will only see the fields that are deemed to be the default display fields, unless you tell it otherwise. If you export it to .csv all the fields should be there in the .csv file. get-messagetrackinglog -EventID "FAIL" -Start "12/30/2010 8:00:00 AM" -End "12/31/2010 5:00:00 PM" | export-csv c:\somedir\fail.csv -notype [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
Free Windows Admin Tool Kit Click here and download it now
January 27th, 2011 5:16pm

I was missing | export-csv c:\somedir\fail.csv -notype Thanks!
January 28th, 2011 9:46am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics